            <td align="center">
              <input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="<?php echo $rs->id;?>" id="att_<?php echo $rs->id;?>"><?php echo $rs->id;?>
            </td>
            
            <td>
            <div class="col-left mr10" style="width:146px; height:112px"><a target="_blank" href="<?php echo $rs->url?>"><img src="<?php echo $rs->thumb?>" width="146" height="112" style="border:1px solid #eee" align="left"></a></div>
            <div class="col-auto">
             <h2 class="title-1 f14 lh28 mb6 blue"><input type="text" class="input length_6" data-id="<?php echo $rs->id;?>" name="title" value="<?php echo $rs->title ?>"></h2>
             <p class="gray4 lh30">
                  价值：<font color="#FF0000"><?php echo  number_format($rs->worth,2)?></font>， 
                  兑换积分：<input type="text" class="input length_1" data-id="<?php echo $rs->id;?>" name="integral" value="<?php echo  $rs->integral; ?>">，
                  限量：<input type="text" class="input length_1" data-id="<?php echo $rs->id;?>" name="quantum" value="<?php echo (int)$rs->quantum;?>">，
                  兑换次数：<input type="text" class="input length_1" data-id="<?php echo $rs->id;?>" name="frequency" value="<?php echo (int)$rs->frequency;?>">&nbsp;0不限制
             </p>
             <p class="gray4 lh30">
             会员组：<?php echo Form::checkbox(MembersGroupModel::model()->getGroupArr(),$rs->member_group,'name="member_group[]" data-id="'.$rs->id.'"'); ?>
             </p>
             <p class="gray4 lh30">
                  开始时间：<input type="text" name="start_time" data-id="<?php echo $rs->id;?>" class="input length_2" value="<?php echo date('Y-m-d H:i',$rs->start_time)?>" placeholder="选择上架时间">，
                  结束时间：<input type="text" name="end_time" data-id="<?php echo $rs->id;?>" class="input length_2" value="<?php echo date('Y-m-d H:i',$rs->end_time)?>" placeholder="选择下架时间">
              </p>

             <p class="gray4 lh30">
              介绍：<?php echo $rs->introduction; ?>
             </p>


             <p class="gray4 lh30">
                  商品ID：<?php echo $rs->product_id ?>,&nbsp;&nbsp;
                  用户ID：<?php echo $rs->uid ?>,&nbsp;&nbsp;
                  <?php 
                    $objMemberTaobao = MembersTaobaoModel::model()->find("uid = {$rs->uid}");
                    if($objMemberTaobao){
                   ?>
                  旺旺：<b><a href="http://amos.im.alisoft.com/msg.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($objMemberTaobao->taobao_user_nick)?>" target="_blank"><?php echo $objMemberTaobao->taobao_user_nick?><img src="http://amos.im.alisoft.com/online.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($objMemberTaobao->taobao_user_nick)?>" alt=""></a></b>
                  <?php } ?>
              </p>

              <p class="gray4 lh30">
                  佣金：<?php echo $rs->commission ?>%,&nbsp;&nbsp;
                  添加时间：<?php echo date('Y-m-d H:i',$rs->add_time) ?>&nbsp;&nbsp;
                  支付宝流水号：<?php echo $rs->MoneyPositionOrderModel->order_sn ?>&nbsp;&nbsp;
              </p>

            </div>
            </td>




            <!-- 商品状态 -->
            <td align="center">
              <am>
              <?php echo RedeemModel::getStatusHtmlDetail($rs->status) ?><br/>
              <font color="red"><?php echo RedeemModel::getPayStatusHtmlDetail($rs->pay_status) ?></font>
            </am>
            </td>
          

          <!-- 管理操作 -->
            <td align="center">

            <?php
              if(false && $rs->status == RedeemModel::STATUS_APPROVE)
              {
                echo '已审核商品不能进行操作';
              }else
              {
                $op = array();
                if(RBAC::authenticate('edit')){
                  $op[] = '<a href="'.AdminBase::U("edit",array('id'=>$rs->id)).'" >编辑</a>';
                }
                if(RBAC::authenticate('delete')){
                  $op[] = '<a class="J_ajax_del" href="'.AdminBase::U("delete",array('id'=>$rs->id)).'" >删除</a>';
                }
                if($rs->pay_status == RedeemModel::PAY_STATUS_REFUND_NOT)
                {
                  $op[] = '<a href="'.AdminBase::U("refund",array('id'=>$rs->id)).'" >确认完成退款</a>';
                }
                echo implode(' | ',$op);
              }

			     ?>
           <a data-title="<?php echo $rs->title ?>" data-uid="<?php echo $rs->uid ?>"  class="J_ajax_notice" href="javascript:void(0);"><font color='#FF00FF'>信息通知</font></a>

            </td>

<script type="text/javascript">

    $(".J_ajax_notice").click(function(){
      var obj = $(this);
      var uid = obj.data('uid');
      var title = obj.data('title');
      var url = "<?php echo $this->createUrl('notice') ?>";
      Wind.use('artDialog','iframeTools', function () {
        var dialog = art.dialog({
          title: '信息通知',
          id: 'notice',
          lock: true,
          fixed: true,
          width:600,
          height:70,
          background: "#CCCCCC",
          padding:'5px 5px',
          opacity: 0,
          button:[{
            name:'确定',
            callback:function(){
              var notice = $("[name='notice']").val();
              if(!notice){
                alert('商品信息不能空');return false;
              }
              $.getJSON(url,{notice:notice,uid:uid},function(data){
                alert(data.info);
                return true;
              });              
            },
            focus: true
          }],          
        });

        var data = '<div style="overflow:hidden;padding: 5px; ">\
        <form action="<?php echo AdminBase::U("notice") ?>" method="post" id="notice">\
        <div class="table_full">\
          <table width="100%" class="table_form contentWrap">\
             <tbody>\
           <tr>\
           <th width="80">信息内容</td>\
           <td><textarea type="text" name="notice" cols="60" rows="3" style="height:50px;width:400px;">亲，您的商品('+title+')已经确定，请查看。</textarea></td>\
           </tr>\
           </tbody>\
           </table>\
        </div>\
        </form>\
        </div>';
        dialog.content(data);



      })
    })


</script>